package com.lixun.passwordbook.util;
 
/** 
* 人脸认证返回码 
* 
* @since 2021-04-12 
*/ 
public class FaceAuthResult { 
/** 
 * 认证成功 
 */ 
public static final int AUTH_SUCCESS = 0; 
/** 
 * 认证失败 
 */ 
public static final int AUTH_FAIL = 1; 
/** 
 * 取消认证 
 */ 
public static final int AUTH_CANCLE = 2; 
/** 
 * 认证超时 
 */ 
public static final int AUTH_TIME_OUT = 3; 
/** 
 * 打开相机失败 
 */ 
public static final int AUTH_OPEN_CAMERA_FAIL = 4; 
/** 
 * busy，可能上一个认证没有结束 
 */ 
public static final int AUTH_BUSY = 5; 
/** 
 * 入参错误 
 */ 
public static final int AUTH_PARAM_ERROR = 6; 
/** 
 * 人脸认证锁定（达到错误认证次数了) 
 */ 
public static final int AUTH_FACE_LOCKED = 7; 
/** 
 * 没有录入人脸 
 */ 
public static final int AUTH_NO_FACE = 8; 
/** 
 * 不支持2D人脸识别。 
 */ 
public static final int AUTH_2D_NOT_SUPPORTED = 9; 
/** 
 * 安全级别不支持 
 */ 
public static final int AUTH_SAFE_LEVEL_NOT_SUPPORTED = 10; 
/** 
 * 不是本地认证 
 */ 
public static final int AUTH_NOT_LOCAL = 11; 
/** 
 * 其他问题 
 */ 
public static final int AUTH_OTHER_ERROR = 100; 
 
private FaceAuthResult() { 
    super(); 
} 
}
